== Installing L3 agent ==

apt-get install neutron-l3-agent

## BEGIN updates to /etc/neutron/l3_agent.ini

[DEFAULT]
interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver
external_network_bridge =
router_delete_namespaces = true

## END updates to /etc/neutron/l3_agent.ini

service neutron-l3-agent restart
service neutron-l3-agent status
neutron agent-list


== Example ==

neutron net-create GATEWAY_NET --provider:network_type=vlan \
--provider:segmentation_id=50 --provider:physical_network=physnet2 \
--router:external --shared

neutron subnet-create GATEWAY_NET 10.50.0.0/24 --name GATEWAY_SUBNET \
--disable-dhcp --allocation-pool start=10.50.0.100,end=10.50.0.254 --gateway 10.50.0.1

neutron router-create MyRouter
neutron router-gateway-set MyRouter GATEWAY_NET

neutron net-create TENANT_NET
neutron subnet-create TENANT_NET 10.30.0.0/24 --name TENANT_NET --dns-nameserver 8.8.8.8

router-interface-add MyRouter TENANT_SUBNET

## NOTE TO READER: Additional examples in the book require the use of UUIDs that are unique
## to the local environment. As such, those examples are not provided here. The dashboard can also
## be used in lieu of the CLI.
